package ghxx.data.acts.sync.bean;


public class Status {
	 public static final String MAP_KEY = "status";
	    public static final String VALUE_OK = "200";

	    private String code;
	    private String errorInfo;
	    public Status() {
	    }

	    public Status(String Code, String ErrorInfo) {
	        code = Code;
	        errorInfo = ErrorInfo;
	    }


	    public void setCode(String code) {
	        this.code = code;
	    }

	    public void setErrorInfo(String errorInfo) {
	        this.errorInfo = errorInfo;
	    }

	    public String getCode() {
	        return code;
	    }

	    public String getErrorInfo() {
	        return errorInfo;
	    }

	    public String toString() {
	        StringBuffer out = new StringBuffer();
	        out.append(" \n");
	        out.append(" apikey=[\n");
	        out.append("\t code=" + getCode() + "\n");
	        out.append("\t errorInfo=" + getErrorInfo() + "\n");

	        return out.toString();
	    }
}
